package cn.tedu.account.mapper;

import cn.tedu.account.entity.Account;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.math.BigDecimal;

/**
 * @Author wy
 * @Date 2021/3/4 16:11
 * @Version 1.0
 */

public interface AccountMapper extends BaseMapper<Account> {
    void decrease(Long userId, BigDecimal money);

}
